package com.nf.teamwork.mall.service.impl;

import com.nf.teamwork.mall.dao.AuthorityInfDao;
import com.nf.teamwork.mall.entity.AuthorityInf;
import com.nf.teamwork.mall.service.AuthorityInfService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: LJP
 * @Classname AuthorityInfServiceImpl
 * @Date: 2020-02-27 11:15
 * @Description: 权限表service层
 */
@Service
public class AuthorityInfServiceImpl implements AuthorityInfService {
    @Autowired
    private AuthorityInfDao authorityInfDao;
    @Override
    public List<AuthorityInf> findAll() {
        return authorityInfDao.findAll();
    }
}
